namespace SqliteLogViewer {
    internal static class Program {
        /// <summary>
        ///  The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main(string[] args) {
            // To customize application configuration such as set high DPI settings or default font,
            // see https://aka.ms/applicationconfiguration.
            ApplicationConfiguration.Initialize();
            //it.Initialize(args);
            egg.Console.EParams param = new egg.Console.EParams(args);
            if (param.ContainsKey("file")) {
                Form1 f = new Form1();
                f.SetPath(param["file"]);
                Application.Run(f);
            } else {
                Application.Run(new Form1());
            }
        }
    }
}